<#include "../common/header.htm">
<div class="content-wrapper">
	<section class="content-header">
		<ol class="breadcrumb">
			<li><a href="${ctx}/">首页</a></li>
			<li class="active"><a href="#">代理商查询</a></li>
		</ol>
	</section>
	<section class="content">
		<div class="box">
			<form action="${ctx}/platManager/agentlist" id="listForm">
				<div class="box-header">
					<div class="row RowSearchWork">
						<div class="col-sm-12">
							<div class="col-sm-2 three-word width20">
								<label>关键字：</label> 
								<input name="searchKey" type="text" class="form-control" placeholder="请输入名称/登录名" value="${searchKey!}"/>
							</div>
							<div class="col-sm-1">
								<input type="button" class="btn btn-default btn-search" onclick="plat.query();" value="查询" />
							</div>
						</div>
					</div>
				</div>
				<div class="box-body">
					<table class="table table-hover table-bordered table-striped">
						<thead>
							<tr>
								<th style="width:60px;">序号</th>
								<th style="width:100px;">ID</th>
								<th>名称</th>
								<th>联系电话</th>
								<th>客户经理</th>
							</tr>
						</thead>
						<tbody>
							<#list page.content as p>
							<tr>
								<td>${page.size * page.number + p_index + 1}</td>
								<td>${p.id!}</td>
								<th>${p.nickName!}</th>
								<td>${p.phone!}</td>
								<td>${p.accountManagerName!}</td>
							</tr>
							</#list>
						</tbody>
					</table>
					<#include "../common/page.htm">
				</div>
			</form>
		</div>
	</section>
</div>
<script type="text/javascript">
	var plat = {
		query : function() {
			$(":input[name='pageNumber']").val(0);
			$("form").submit();
		},
	}
</script>
<#include "../common/footer.htm">